package com.qf.service;

import com.qf.pojo.DtsRole;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author bss
 * @version V1.0
 * @Project maven
 * @Package com.qf.service
 * @Description:
 * @Date 2022/10/13 19:25
 */
public interface DtsRoleService {

    Set<String> findRoleById(Integer[] ids);

    List<DtsRole> findAll();

    Map<String, Object> findByPage(Integer page, Integer limit, String sort, String order, String rolename);

    void insert(DtsRole role);

    void update(DtsRole role);

    void delete(DtsRole role);

    boolean isSuperAdmin(Integer roleId);


}
